U.S. Treasury Secretary Janet Yellen said Trump's broad-based tariffs could undermine progress on inflation and increase costs.